﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="FlashNotification.WebForm1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        .flash
        {
        }
        
        .flash .notice, .flash .error, .flash .success, .flash .info
        {
            padding: 6px 10px 10px 45px;
            font-size: 0.9em;
            margin: 0 0 10px;
            font-weight: bold;
        }
        
        .flash .notice
        {
            background: #f9f9e5 url('./img/notice.png') 10px 50% no-repeat;
            color: #828400;
            border: #e8e3aa solid 1px;
        }
        
        .flash .error
        {
            background: #f9e5e6 url('./img/error.png') 10px 50% no-repeat;
            color: #b50007;
            border: #e8aaad solid 1px;
        }
        
        .flash .success
        {
            background: #e9f9e5 url('./img/success.png') 10px 50% no-repeat;
            color: #1c8400;
            border: #b4e8aa solid 1px;
        }
        
        .flash .info
        {
            background: #e5ecf9 url('./img/info.png') 10px 50% no-repeat;
            color: #0055b5;
            border: #aac6e8 solid 1px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <ctl:flash cssclass="flash" runat="server" />
        <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Info" />
        <asp:Button ID="Button2" runat="server" onclick="Button2_Click" Text="Notice" />
        <asp:Button ID="Button3" runat="server" onclick="Button3_Click" Text="Error" />
        <asp:Button ID="Button4" runat="server" onclick="Button4_Click" Text="Success" />
    </div>
    </form>
</body>
</html>
